import PageTools from '@/components/PageTools'
import uploadExcel from '@/components/uploadExcel'
import ImageUpload from '@/components/ImageUpload'
import lang from '@/components/lang'
import ScreenFull from '@/components/ScreenFull'
import ThemePicker from '@/components/ThemePicker'
export default {
  install(Vue) {
    //  注册全局的通用栏组件对象
    Vue.component('PageTools', PageTools)
    // 注册全局的excel组件对象
    Vue.component('uploadExcel', uploadExcel)
    // 注册全局组件
    Vue.component('ImageUpload', ImageUpload)
    // 注册全局的语言组件
    Vue.component('lang', lang)
    // 注册全局的全屏组件
    Vue.component('ScreenFull', ScreenFull)
    // 注册全局的换肤组件
    Vue.component('ThemePicker', ThemePicker)
  }
}
